﻿using System;
using DBA.Common;
using System.Collections;
using System.Collections.Generic;

namespace DBA.Model
{
    /// <summary>
    ///功能描述    :    WorkSharing
    ///开发者      :    
    ///建立时间    :    2012-08-22 13:49:29
    ///修订描述    :    
    ///进度描述    :    
    ///版本号      :    1.0
    ///最后修改时间:    2012-08-22 13:49:29
    /// </summary>
        [OrmPropertyAttribute(TableName = "WorkSharing", PrimaryKey = "Ws_ID", PrimaryKeyType = "IDENTITY", ParameterType = "int")]
    public class WorkSharing
    {
        #region 构造函数
        public WorkSharing(){}
        
        public WorkSharing(int ws_ID,int sp_ID,string ws_year,decimal ws_Money)
        {
           this._ws_ID = ws_ID;
           this._sp_ID = sp_ID;
           this._ws_year = ws_year;
           this._ws_Money = ws_Money;

        }
        #endregion
        
        #region 成员
        private int _ws_ID;
        private int _sp_ID;
        private string _ws_year;
        private decimal _ws_Money;
        #endregion
        
        #region 属性
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "0")]
        public virtual int Ws_ID
        {
            get { return _ws_ID; }
            set { _ws_ID = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "int",ParameterLength = 4,IsNull = "1")]
        public virtual int Sp_ID
        {
            get { return _sp_ID; }
            set { _sp_ID = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "varchar",ParameterLength = 4,IsNull = "1")]
        public virtual string Ws_year
        {
            get { return _ws_year; }
            set { _ws_year = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        [OrmPropertyAttribute(ParameterType = "decimal",ParameterLength = 10,IsNull = "1")]
        public virtual decimal Ws_Money
        {
            get { return _ws_Money; }
            set { _ws_Money = value; }
        }
        #endregion
    }
}